import { get, post, put } from "@/requests/index"

export function getBillDetail(id){
	return get("/bill/detail",{id})
}
export function updateBill(Bill){
	return put("/bill",Bill)
}
export function updateAndStatus(Bill){
	return put("/bill/updateAndStatus",Bill)
}
export function addBill(Bill){
	return post("/bill",Bill)
}
export function getBillOptions(Bill){
	return get("/bill/detail/options",Bill)
}
export function checkBill(data,config){
	return post("/bill/billCheck",data,config)
}

export function getBillStatis(data){
	return get("/bill/orderStatis",data)
}
export function changeBillStatus(data){
	return post("/bill/batchChangeStatus",data)
}
export function changeBillShop(data){
	return post("/bill/batchChangeShop",data)
}